<?php
namespace Admin\Controller;
use Admin\Controller\BaseController;
class AppController extends BaseController {
    
    public function _initialize(){
        $this->tbl = 'app';
        parent::_initialize();
    }

    public function index(){

        parent::index($this->tbl,'zjs_id desc',1);
    }
    public function view(){
    	$id = I('get.id');
    }
    public function form(){
        $this->assign('atlist',M('apptype')->select());
    	parent::form($this->tbl);
    }
    public function add(){
    	parent::add($this->tbl);
    }
    public function mod(){
        $this->assign('atlist',M('apptype')->select());
    	parent::mod($this->tbl);
    }
    public function update(){
    	parent::update($this->tbl);
    }
    public function delete(){
    	parent::delete($this->tbl);
    }
   
    
}